package com.original.simuladoresws.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import com.original.simuladoresws.controller.ProductController;
import com.original.simuladoresws.entities.soap.SOAPProduct;

@WebService(serviceName="/ProductGetListService")
@SOAPBinding(style = Style.RPC, use = Use.LITERAL)
public class ProductGetListService{
	
	ProductController productController = new ProductController();
	
    @WebMethod(operationName="productGetList")
    public SOAPProduct productGetList() {
        return productController.getListActiveProducts();
    }
}
